package 序列化操作;

import java.io.Serializable;

public class Student implements Serializable {
    private String name;
    private String age;
    //transient 字段可以把这个属性不序列化
    private transient String password;

    public Student(String name, String age, String password) {
        this.name = name;
        this.age = age;
        this.password = password;
    }

    public Student(){

    }




    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setAge(String age) {
        this.age = age;
    }






}
